
#ifndef INFODISPLAYERCOMPONENT_H_
#define INFODISPLAYERCOMPONENT_H_

#include <vector>
#include <string>

#include "Game\GameTime.h"
#include "Game\Game.h"
#include "Graphics\Color.h"
#include "Game\DrawableGameComponent.h"

using namespace CasaEngine;

class InfoDisplayerComponent :
	public DrawableGameComponent
{
public:

	typedef struct InfoData_s
	{
		std::string txt;
		CColor color;
	} InfoData;


	InfoDisplayerComponent(Game* pGame_);
	~InfoDisplayerComponent();

	void Initialize();
	void OnLoadContent();
	void Update(const GameTime& gameTime_);
	void Draw();

	void AddLine(CColor color_, std::string txt_);	

private:
	std::vector<InfoData> m_Lines;
};

#endif // INFODISPLAYERCOMPONENT_H_
